package com.bjx.system.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @desc: 修改密码VO
 * @author: liushuai
 * @date: 2022/7/15 15:17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UpdatePasswordVO {

    @NotNull
    @Schema(title = "originalPassword",description = "原密码")
    public String originalPassword;
    @NotNull
    @Schema(title = "repetitionPassword",description = "重复原密码")
    public String repetitionPassword;
    @NotNull
    @Schema(title = "newPassword",description = "新密码")
    public String newPassword;
}
